package com.kotlin.library.injection.module

import android.content.Context
import com.kotlin.library.common.BaseApplication
import dagger.Module
import dagger.Provides
import javax.inject.Singleton

/**
 *
 * USER: zjw
 * DATA: 2018/11/28 0028
 * TIME: 下午 6:39
 */
@Module
class AppModule(private val context: BaseApplication) {
    @Singleton
    @Provides
    fun providesContext(): Context {
        return context
    }
}